package com.wuyou.designPatterns.iterator;


/**
 * @Description 迭代器接口
 * @Author yh.zhang
 * @Date 2024/1/10 16:41
 */
public interface Iterator<T> {

    public abstract T next();

    public abstract boolean hasNext();
}
